import { IsString, IsNotEmpty, IsIn, IsOptional } from 'class-validator';
  // 新增登录DTO
  export class LoginDto {
    @IsNotEmpty()
    username: string;
  
    @IsNotEmpty()
    password: string;
  }